<!-- moneyDetail 页面详情内容 -->
<section class="moneyDetail" ng-controller="moneyDetailCtrl">
	 <ol class="breadcrumb">
        <li ng-click="goBack();"><a>我的钱包</a></li>
        <li><a>明细</a></li>
    </ol>
    <div class="row margin-reset" style="box-shadow:0 1px 8px rgba(0, 0, 0, 0.1);">
    		<div class="row_first">
	    		<div class="col-md-6 col-xs-9 col-sm-6">
	    			<span></span>
	    			{{mon}}{{type}}：{{count| number:2}}
	    		</div>
	  		<div class="col-md-6 col-xs-2 col-sm-6 text-right">
	  			<select ng-model="start" ng-options="times.id as times.name for times in timeItem" ng-change="selectChange(times)">
	  				<option value="" disabled selected >请选择</option>
	  			</select>
	  		</div>
	  	</div>
	  	<!--<div class="row_first">
	  		<ul class="nav nav-pills text-center">
	  			<li class="col" style="width: 22%;">订单号</li>
	  			<li class="col" style="width: 26%;">时间</li>
	  			<li class="col" style="width: 25%;">收入类型</li>
	  			<li class="col" style="width: 22%;">金额</li>
	  		</ul>
	  	</div>-->
	  	<table class="table table-striped font_style text-center" >
	  		<tbody>
	  			<tr ng-if="moneyDetailList.length!=0" ng-repeat="list in moneyDetailList" style="height: 51px !important;">
	  				<td style="width: 23%;color: #58c676;" ng-bind="list.serial_number" ng-if="list.serial_number!='' && list.serial_number!=null"  ui-sref="orderDetail({id: list.order_id})"></td>
	  				<td style="width: 23%;" ng-if="list.serial_number==null">--</td>
	  				<td style="width: 30%;" ng-bind='list.created_at * 1000 | date:"yyyy-MM-dd"'></td>
	  				<td style="width: 17%;" ng-bind="list.title"></td>
	  				<td style="width: 25%;" ng-bind="list.price/100 | number:2"></td>
	  			</tr>
	  		</tbody>
	  	</table>
	  	<!--<div class="row_first font_style" ng-if="moneyDetailList.length!=0" ng-repeat="list in moneyDetailList">
	  		<ul class="nav nav-pills text-center" style="height: 40px;border-bottom: 1px solid #F5F5F5;">
	  			<li class="col" style="width: 25%;" ng-show="list.serial_number!=null && list.serial_number!=''" ui-sref="orderDetail({id: list.order_id})">
	  				<div  ng-bind='list.serial_number' style="color: #58c676;"></div>
	  				<div  ng-bind='list.created_at * 1000 | date:"yyyy-MM-dd"'></div>
	  			</li>
	  			<li class="col" style="width: 25%;" ng-bind='list.created_at * 1000 | date:"yyyy-MM-dd"' ng-show="list.serial_number==null || list.serial_number==''"></li>
	  			<li class="col" style="width: 25%;" ng-bind="list.trade_type"></li>
	  			<li class="col" style="width: 25%;" ng-bind="list.pay_type"></li>
	  			<li class="col" style="width: 20%;" ng-bind="list.price/100 | number:2"></li>
	  		</ul>
	  	</div>-->
	  	<div class="row_first font_style text-center" ng-if="moneyDetailList.length==0">暂无数据</div>
    </div>
      <pagination total-items="page.total_count" ng-model="page.current_page" max-size="maxSize"
                items-per-page="page.current_total"
                class="pagination-sm pull-right" boundary-links="true"></pagination>
    <nav ng-show='moneyDetailList && moneyDetailList.length > 0 && page.total_count > page.current_total' style="text-align: center;">
        <ul uib-pagination total-items="page.total_count" items-per-page='page.current_total' ng-model="page.current_page" ng-change="updateUrlPage(page.current_page);" max-size="maxSize" class="pagination-sm" boundary-links="true" force-ellipses="true" next-text="下一页" last-text="尾页" previous-text="上一页" first-text="首页"></ul>
    </nav>
</section>

<style>
	.row_first{
        height: 45px;
        padding: 10px 0px;
        border-top: 1px solid #F5F5F5;
    }
	.font_style{
		font-size: 0.7em;
	}
</style>
    
    
